/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.auth.service;

import javax.ws.rs.PathParam;

/**
 * @description
 * 
 * @author rening
 * @version v1.0
 * 
 * @2013-6-7
 * 
 */
public interface TicketApplication {

	/**
	 * @param entity
	 * @return
	 */
	public String generateTicket(Object entity);

	/**
	 * @param ticket
	 * @return
	 */
	public Object getEntity(@PathParam("ticket") String ticket);

	/**
	 * @param ticket
	 */
	public void deleteEntity(@PathParam("ticket") String ticket);

	/**
	 * @param ticket
	 * @return
	 */
	public String getAccountId(@PathParam("ticket") String ticket);
}
